ul.pagination
{
    display: inline-block;
    padding: 0;
    margin: 0;
}

ul.pagination li
{
    display: inline;
}

ul.pagination li a
{
    color: #c1ee6e;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
}

ul.pagination li a:hover
{
    color: #c844ff;
    background-color: #5f5b60;
}

ul.pagination li a.active
{
    background-color: #4CAF50;
    color: white;
}

ul.pagination li a:hover:not(.active)
{
    background-color: #ddd;
}